<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        .item {
            background-color: #f40;
            width: 50%;
            margin: 0 auto;

        }

        .inner{
            width:100% ;
            height:0;
            padding-bottom: 75%;
            position: relative;
        }

        .content{
            position: absolute;
            inset : 0  ;
            background-color: #998833;
        }

    </style>
</head>
<body>
<div class="item">
    <div class = "inner">
        <div class = "content"></div>
    </div>
</div>
</body>
</html>
